package com.ht.base.system.biz.manager;

import com.ht.base.system.common.pojo.bo.SysRoleBO;
import com.ht.base.system.common.pojo.qto.SysRoleQTO;
import org.base.common.appexception.AppException;
import org.base.common.page.PageBO;

public interface SysRoleManager {

    SysRoleBO insertRole(SysRoleBO roleBO) throws AppException;

    Boolean updateRole(SysRoleBO roleBO) throws AppException;

    Boolean updateRoleStatus(SysRoleBO roleBO) throws AppException;

    Boolean delRoleByIds(Long[] sysRoleIds) throws AppException;

    Boolean delRoleById(Long sysRoleId) throws AppException;

    SysRoleBO findRoleById(Long sysRoleId) throws AppException;

    SysRoleBO findRoleByUserId(Long sysUserId) throws AppException;

    PageBO<SysRoleBO> findRoleForPage(SysRoleQTO qto) throws AppException;


}
